/*
 * Template Name: Lava Cinema (熔岩影视)
 * Author: Manus AI Agent
 * CSS Prefix: lv-
 */

/* === Global Styles & Variables === */
:root {
    --lv-color-primary: #FF6B35;
    --lv-color-secondary: #8B0000;
    --lv-color-background: #0a0a0a;
    --lv-color-text: #e0e0e0;
    --lv-color-border: #2a2a2a;
    --lv-font-main: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--lv-color-background);
    color: var(--lv-color-text);
    font-family: var(--lv-font-main);
    margin: 0;
    line-height: 1.6;
}

a {
    color: var(--lv-color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--lv-color-secondary);
}

.lv-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* === Header & Navigation === */
.lv-header {
    background-color: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid var(--lv-color-border);
    position: sticky; top: 0;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.lv-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.lv-logo img {
    max-height: 50px;
}

.lv-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.lv-nav li a {
    padding: 10px 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.lv-search input[type="text"] {
    background: #222;
    border: 1px solid var(--lv-color-border);
    color: var(--lv-color-text);
    padding: 8px 12px;
    border-radius: 20px;
}

.lv-btn-flame {
    background: linear-gradient(45deg, var(--lv-color-primary), var(--lv-color-secondary));
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lv-btn-flame:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* === Main Content & Hero === */
.lv-main-content {
    padding-top: 90px; /* Offset for fixed header */
}

.lv-hero-banner {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('{$pic}') no-repeat center center/cover;
    position: relative;
}

.lv-hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.lv-hero-banner .lv-container {
    position: relative;
    z-index: 2;
}

.lv-hero-banner h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.lv-announcement {
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
}

/* === Content Grid & Cards === */
.lv-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.lv-section-title {
    font-size: 1.8rem;
    color: #fff;
    border-bottom: 3px solid var(--lv-color-primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.lv-card-deck {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.lv-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 0 0 rgba(255, 107, 53, 0);
}

.lv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 20px rgba(255, 107, 53, 0.5);
}

.lv-card-img-link img {
    width: 100%;
    height: auto;
    display: block;
}

.lv-card-body {
    padding: 15px;
}

.lv-card-title a {
    font-size: 1rem;
    color: var(--lv-color-text);
    font-weight: bold;
}

.lv-card-meta {
    font-size: 0.8rem;
    color: #888;
}

/* === List Page === */
.lv-list-page .lv-layout-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    padding: 20px 0;
}

.lv-card-deck-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lv-breadcrumbs {
    padding: 20px 0;
    color: #888;
}

.lv-breadcrumbs a {
    color: #aaa;
}

.lv-pagination {
    text-align: center;
    padding: 40px 0;
}

.lv-pagination a, .lv-pagination span {
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid var(--lv-color-border);
    border-radius: 5px;
}

.lv-pagination span.current {
    background: var(--lv-color-primary);
    color: #fff;
    border-color: var(--lv-color-primary);
}

/* === Show Page === */
.lv-show-page .lv-article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.lv-article-header h1 {
    font-size: 2.5rem;
}

.lv-article-meta {
    color: #888;
    margin-bottom: 20px;
}

.lv-article-meta span {
    margin-right: 15px;
}

.lv-article-body {
    font-size: 1.1rem;
}

.lv-post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--lv-color-border);
    margin-top: 30px;
}

/* === Sidebar === */
.lv-sidebar .lv-widget {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.lv-sidebar .lv-widget-title {
    font-size: 1.2rem;
    border-bottom: 2px solid var(--lv-color-primary);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.lv-sidebar ul {
    list-style: none;
    padding: 0;
}

.lv-sidebar ul li a {
    display: block;
    padding: 5px 0;
    border-bottom: 1px solid #2a2a2a;
}

/* === Footer === */
.lv-footer {
    background: #111;
    color: #888;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 3px solid var(--lv-color-primary);
}

.lv-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.lv-footer h3 {
    color: #fff;
}

.lv-footer ul {
    list-style: none;
    padding: 0;
}

.lv-footer-info {
    text-align: center;
    border-top: 1px solid var(--lv-color-border);
    padding-top: 20px;
}

.lv-hidden-stats {
    display: none;
}


/* ========== 差异化特效 ========== */
/*
 * 熔岩影视 (lv-) CSS 特效代码
 * Designed by Manus AI
 */

/* Keyframes 动画 */

/* 1. 熔岩背景脉冲动画 */
@keyframes lv-lava-pulse {
  0% {
    box-shadow: 0 0 25px rgba(255, 100, 0, 0.4), inset 0 0 15px rgba(255, 80, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 60, 0, 0.6), inset 0 0 20px rgba(255, 100, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 25px rgba(255, 100, 0, 0.4), inset 0 0 15px rgba(255, 80, 0, 0.3);
  }
}

/* 2. 标题文字火焰闪烁动画 */
@keyframes lv-fire-flicker {
  0%, 100% {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff4500, 0 0 20px #ff4500, 0 0 25px #ff4500, 0 0 30px #ff4500, 0 0 35px #ff4500;
    opacity: 1;
  }
  50% {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff4500, 0 0 20px #ff4500, 0 0 22px #ff4500, 0 0 28px #ff4500, 0 0 32px #ff4500;
    opacity: 0.95;
  }
}

/* 3. 按钮炽热辉光动画 */
@keyframes lv-hot-glow {
  from {
    transform: scale(1);
    box-shadow: 0 0 10px #ff8c00, 0 0 20px #ff8c00, 0 0 30px #ff7000;
  }
  to {
    transform: scale(1.03);
    box-shadow: 0 0 20px #ff8c00, 0 0 30px #ff7000, 0 0 40px #ff6000;
  }
}

/* Hover 和 Transition 效果 */

/* 1. 卡片hover熔岩发光效果 */
.lv-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 
              0 0 20px rgba(255, 69, 0, 0.6), 
              inset 0 0 10px rgba(255, 140, 0, 0.4);
}

/* 2. 导航链接hover下划线展开效果 */
.lv-nav-link {
  position: relative;
  padding-bottom: 5px;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.lv-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff8c00, #ff4500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.lv-nav-link:hover {
  color: #ff8c00;
}

.lv-nav-link:hover::after {
  transform: scaleX(1);
}

/* 3. 图片hover放大和亮度提升 */
.lv-img-container img {
  transition: transform 0.4s ease, filter 0.4s ease;
  width: 100%;
}

.lv-img-container:hover img {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* 4. 按钮hover效果 */
.lv-btn {
  background: linear-gradient(45deg, #ff4500, #ff8c00);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lv-btn:hover {
  animation: lv-hot-glow 0.8s infinite alternate;
}

/* 5. 标题应用火焰闪烁效果 */
.lv-section-title {
  animation: lv-fire-flicker 3s infinite linear;
}

/* 6. 装饰性元素应用背景脉冲效果 */
.lv-promo-banner {
  animation: lv-lava-pulse 4s infinite ease-in-out;
  border-radius: 8px;
}
